package com.lipp.luosu.avl;

/**
 * @ClassNameNode
 * @description: TODO 类描述
 * @Author lipp
 * @Date 2024/1/22 9:20
 * @Version 1.0
 */
public class Node {

    int key;
    /**
     * @description: 节点的高度
     */
    int height;

    /**
     * @description: 节点的左子树
     */
    Node left;
    /**
     * @description: 节点的右子树
     */
    Node right;

    public Node(int key) {
        this.key = key;
        this.height = 1;
    }
}
